#include <stdio.h>
#include <stdlib.h>
 
int main(void)
{
    const char *name = "PATH";
    const char *name_home = "HOME";
    
    const char *env_p = getenv(name);
    const char *env_home = getenv(name_home);
    
    if (env_p)
        printf("%s = %s\n", name, env_p);

    if (env_home)
        printf("%s = %s\n", name_home, env_home);
}
